package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.common.enums.CertificateTypeEnum;
import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 实名认证
 * Created by Administrator on 2018/4/27.
 */
@Data
public class RealAuthDTO  implements Serializable {
    @ApiModelProperty(value="商户系统用户标识", required = true)
    @NotEmptyXs(message = "bizUserId不能空")
    private String bizUserId;

    @ApiModelProperty(value="是否由云商进行认证")
    private Boolean isAuth;

    @ApiModelProperty(value="姓名", required = true)
    @NotEmptyXs(message = "name不能空")
    private String name;

    @ApiModelProperty(value="证件类型", required = true)
    @NotNull(message = "identityType不能空")
    private CertificateTypeEnum identityType;

    @ApiModelProperty(value="证件号码", required = true)
    @NotEmptyXs(message = "identityNo不能空")
    private String identityNo;


}
